class Point{
    constructor(){
        console.log(this);
        this.a = 1;
    }
    delete(){
        console.log(this);
    }
}

let pt = new Point();
pt.delete();